export interface IRole {
	_id: string;
	comment: string; // 备注
	create_date: number; // 创建时间
	permission: string[]; // 权限
	role_id: string; // 角色ID
	role_name: string; // 角色名称
}



export type EditRoleParams = Omit<IRole, 'create_date' | '_id'>;
export type AddRoleParams = EditRoleParams;
export type UpdateRoleParams = EditRoleParams & { _id: string };
export type GetRoleParams = {
	page: number;
	pageSize: number;
	role_id?: string;
	role_name?: string;
};
